<table>
    <tbody>
        <tr class="prop">
            <td valign="top" class="name"><g:message code="workflow.name" default="Name" />:</td>
            <td valign="top" class="value">${fieldValue(bean: workflowInstance, field: "name")}</td>
            <td valign="top" class="name"><g:message code="workflow.domain" default="Domain" />:</td>
            <td valign="top" class="value">${fieldValue(bean: workflowInstance, field: "domain")}</td>
        </tr>
        <tr class="prop">
            <td valign="top" class="name"><g:message code="workflow.recordType" default="Record Type" />:</td>
            <td valign="top" class="value"><g:link controller="recordType" action="show" id="${workflowInstance?.recordType?.id}">${workflowInstance?.recordType?.encodeAsHTML()}</g:link></td>
            <td valign="top" class="name"><g:message code="workflow.department" default="Department" />:</td>
            <td valign="top" class="value"><g:link controller="department" action="show" id="${workflowInstance?.department?.id}">${workflowInstance?.department?.encodeAsHTML()}</g:link></td>
        </tr>
        <tr class="prop">
            <td valign="top" class="name"><g:message code="workflow.description" default="Description" />:</td>
            <td valign="top" class="value" colspan="3">${fieldValue(bean: workflowInstance, field: "description")}</td>
        </tr>
        <tr class="prop">
	        <td valign="top" class="name"><g:message code="workflow.isActive" default="Is Active" />:</td>
	        <td valign="top" class="value"><g:formatBoolean boolean="${workflowInstance?.isActive}" /></td>
	        <td valign="top" class="name">&nbsp;</td>
	        <td valign="top" class="value">&nbsp;</td>
        </tr>
    </tbody>
</table>

<g:render template="/wf/workflow/step_list" model="[workflowStepInstanceList:workflowInstance?.steps]"/>